package com.sky.service.admin;

import com.sky.dto.DishPageQueryDTO;
import com.sky.pojo.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface Dishservice {

    PageResult findByPage(DishPageQueryDTO dishPageQueryDTO);

    void addDish(Dish dish);

    void deleteByIds(List<Long> ids);

    void update(Dish dish);

    DishVO findDishById(Long id);

    List<Dish> listByCategoryId(Integer categoryId);
}
